import axios from 'axios'

function tongJi(id) {
  new Promise((resolve, reject) => {
    axios.get('http://wxjx.unisk.cn/ynlt/discount/buy/updateOpenNum', {
      params: {
        id: id
      }
    }).then(res => {
      res = res.data;
      console.log(res);
    })
  })
}
module.exports = {
  tongJi: tongJi
}
